Enum SnmpError

java.lang.Object
java.lang.Enum<SnmpError>
com.cisco.pt.ipc.enums.SnmpError
All Implemented Interfaces:
Serializable, Comparable<SnmpError>, Constable

public enum SnmpError extends Enum<SnmpError>
An enum for the IPC's SnmpError values
Author:
packettracerexapps@external.cisco.com
  • Enum Constant Details

    • SNMP_ERROR_NO_ERROR

      public static final SnmpError SNMP_ERROR_NO_ERROR
    • SNMP_ERROR_TOO_BIG

      public static final SnmpError SNMP_ERROR_TOO_BIG
    • SNMP_ERROR_NO_SUCH_NAME

      public static final SnmpError SNMP_ERROR_NO_SUCH_NAME
    • SNMP_ERROR_BAD_VALUE

      public static final SnmpError SNMP_ERROR_BAD_VALUE
    • SNMP_ERROR_READ_ONLY

      public static final SnmpError SNMP_ERROR_READ_ONLY
    • SNMP_ERROR_GEN_ERROR

      public static final SnmpError SNMP_ERROR_GEN_ERROR
    • SNMP_ERROR_TIMEOUT

      public static final SnmpError SNMP_ERROR_TIMEOUT
    • SNMP_ERROR_WRONG_VERSION

      public static final SnmpError SNMP_ERROR_WRONG_VERSION
  • Field Details

    • intValue

      protected int intValue
  • Method Details

    • values

      public static SnmpError[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SnmpError valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getIntValue

      public int getIntValue()
    • fromIntValue

      public static SnmpError fromIntValue(int value)
    • fromIntValue

      public static SnmpError fromIntValue(Integer value)